Default Attestation Service
Default, functional Android Key Attestation and Apple App Attestation in all its glory.
Once configured, this class provides a streamlined interface for mobile client attestation
Parameters
Configuration for Android key attestation. See AndroidAttestationConfiguration for details
IOS AppAttest configuration. See IOSAttestationConfiguration for details.
a clock to set the time of verification (used for certificate validity checks)
allows for fine-grained clock drift compensation (this duration is added to the certificate validity checks; can be negative.
Constructors
Java-friendly constructor with java.time types
Properties
Functions
Convenience method to verifies both Android Key Attestation or Apple App Attestation structures of the client (in attestationProof) if the device can be verified and challenge matches the attestation challenge. On Android, this is simply the certificate chain from the attestation certificate (i.e. the certificate corresponding to the key to be attested) up to one of the Google hardware attestation root certificates. on iOS this contains at least the AppAttest attestation statement. Calls verifyAttestationAndroid or verifyAttestationApple depending on the kind of attestation proof prpvoded.
Verifies key attestation for both Android and Apple devices.